package com.yuanheng100.asset.consts.borrow;

/**
 * Created by jlqian on 2016/10/31.
 */
public enum BorrowerType
{
    NATURAL_PERSON((short)1,"自然人借款人"),
    LEGAL_PERSON((short)2,"法人借款人");

    private Short code;
    private String name;

    private BorrowerType(Short code , String name){
        this.code = code;
        this.name = name;
    }

    public Short getCode()
    {
        return code;
    }

    public void setCode(Short code)
    {
        this.code = code;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

}
